package cn.thinkluck.pattern.strategy;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author liutao
 * @DateTime 2024/8/1 下午10:16
 */
@Slf4j
public class SubOperationImpl implements Operation {
    @Override
    public double execute(double num1, double num2) {
        log.info("减法运算");
        return num1 - num2;
    }
}
